package com.HomeWorkhsp.Chapter08.overrideExercise;

/**
 * Enjoy programming!!!
 * Time: 2021/11/23 -  20:39
 */
public class Test {
    public static void main(String[] args) {
        Person jack = new Person("jack", 30);
        System.out.println(jack.say());

        Student smith = new Student("smith", 18,742434 , 88.2);
        System.out.println(smith.say());

    }
}